﻿package Message.Public
{
    import Framework.MQ.*;
    import Framework.Serialize.*;

    public class SFightTargetPosReset extends IMessageBase
    {
        public var sEntityId:SEntityId;
        public var sPoint:SPoint;
        public const _type:int = 196;
        public static var _regist:SFightTargetPosReset = new SFightTargetPosReset(true);

        public function SFightTargetPosReset(param1:Boolean = false)
        {
            if (param1)
            {
                MessageManager.instance().regist(this);
            }
            return;
        }// end function

        override public function getType() : int
        {
            return this._type;
        }// end function

        override public function clone() : IMessageBase
        {
            return new SFightTargetPosReset();
        }// end function

        override public function __write(param1:SerializeStream) : void
        {
            this.sEntityId.__write(param1);
            this.sPoint.__write(param1);
            return;
        }// end function

        override public function __read(param1:SerializeStream) : void
        {
            this.sEntityId = new SEntityId();
            this.sEntityId.__read(param1);
            this.sPoint = new SPoint();
            this.sPoint.__read(param1);
            return;
        }// end function

    }
}
